**********************************
Compiling mdPhonePythonWrapper.cpp
**********************************

You may need to recompile mdPhonePythonWrapper.cpp if you are not using a version of Python that is compatible with
the _mdPhonePythonWrapper.pyd that is supplied. 

Prerequisites:
	
	Visual C++ Compiler
	Python (tested with 2.5.2)

To compile mdPhonePythonWrapper.cpp, a bat file has been supplied. This bat file requires the Visual Studio C++ 
compiler. To use the compiler, you must set up its environment by executing vcvars32.bat in the Visual Studio
C++ bin folder. Read the comments at the top of CreateDll.bat for more details.

You must then set the path to the Python Include and Library path. You also need to set the path of the Phone Object
library (mdPhone.dll). The default locations of these files have been set already but may require changes if your
system is different.

**********
64 Bit mode
**********
To use this wrapper in 64bit mode, you must use the 64 bit version of Phone Object and recompile the wrapper dlls 
on a 64bit machine. To do so, go into the "Source" directory and follow the instructions in CreateDLL.bat. You 
must use the Visual Studio x64 Command Prompt instead of the 32bit (default) one. 

* 64bit version available in C:\Program Files\Melissa DATA\DQT\PhoneObj\dll_64bit


set mdPhonePath to the directory containing mdPhone.dll
set PythonIncludePath to the Python\include directory.
set PythonLibraryPath to the Python\libs directory.

You will also need to change the Python dependency that the code needs based on your version of Python. In CreateDll.bat, 
you will need to change the following to match your installation of Python:

	-DEFAULTLIB:python25.lib

pythonxx.lib should be in your Python25\libs. For example, if you are using Python 1.5 , you will change to:

	-DEFAULTLIB:python15.lib


Now, you can run CreateDll.bat to create _mdPhonePythonWrapper.pyd.
